package generatorGraphics.graphicsCategory;

import generatorGraphics.graphics.MoteBandwidth2;
import generatorGraphics.graphics.MoteLatency2;
import generatorGraphics.graphics.QueueCongestion2;
import javax.swing.ImageIcon;

public class Congestion extends Category{
    
    public Congestion(){
        this.name = "Congestion";
        this.id = 103;
        this.typeOptions = 3;
        this.pathImage = "/generatorGraphics/images/congestionIcon.jpg";
        
        this.image = new ImageIcon(EnergyConsumption.class.getResource(pathImage));
        
        configuration();
    }
    
    private void configuration(){
    
        MoteBandwidth2 moteBandwidth = new MoteBandwidth2();
        graphicsList.add(moteBandwidth);
        
        MoteLatency2 moteLatency = new MoteLatency2();
        graphicsList.add(moteLatency);
        
        QueueCongestion2 queueCongestion = new QueueCongestion2();
        graphicsList.add(queueCongestion);
        
    }
    
}
